<table class="table table-striped">
	<tbody>
		<tr>
			<td>{:__('State')}</td>
			<td>
				{switch name="row.state"}
					{case value="0"}<span class="label label-info">{$row.state_text}</span>{/case}
				    {case value="1"}<span class="label label-default">{$row.state_text}</span>{/case}
					{case value="2"}<span class="label label-danger">{$row.state_text}</span>{/case}
				{/switch}
			</td>
		</tr>
		<tr>
			<td>{:__('Name')}</td>
			<td>{$row.name|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('Number')}</td>
			<td>{$row.number|htmlentities}</td>
		</tr>
		
		<tr>
			<td>{:__('营业执照照片')}</td>
			<td><a href="{$row.image|cdnurl|htmlentities}" target="_blank"><img class="img-sm img-center" src="{$row.image|cdnurl|htmlentities}"></a></td>
		</tr>
		<tr>
			<td>{:__('Mobile')}</td>
			<td>{$row.mobile|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('Wechat')}</td>
			<td>{$row.wechat|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('Shopname')}</td>
			<td>{$row.shopname|htmlentities}</td>
		</tr>
		
		<tr>
			<td>{:__('Avatar')}</td>
			<td><a href="{$row.avatar|cdnurl|htmlentities}" target="_blank"><img class="img-sm img-center" src="{$row.avatar|cdnurl|htmlentities}"></a></td>
		</tr>
		{eq name="row.state" value="2"}
		<tr>
			<td>{:__('Trademark')}</td>
			<td><a href="{$row.trademark|cdnurl|htmlentities}" target="_blank"><img class="img-sm img-center" src="{$row.trademark|cdnurl|htmlentities}"></a></td>
		</tr>
		{/eq}
		<tr>
			<td>{:__('Bio')}</td>
			<td>{$row.bio|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('Content')}</td>
			<td>{$row.content|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('City')}</td>
			<td>{$row.city|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('法人姓名')}</td>
			<td>{$row.contact_name|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('法人身份证号')}</td>
			<td>{$row.contact_id_number|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('身份证居住地址法人')}</td>
			<td>{$row.id_card_address|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('法人身份证人像')}</td>
			<td><a href="{$row.contact_id_doc_copy|cdnurl|htmlentities}" target="_blank"><img class="img-sm img-center" src="{$row.contact_id_doc_copy|cdnurl|htmlentities}"></a></td>
		</tr>
		<tr>
			<td>{:__('法人身份证国徽面')}</td>
			<td><a href="{$row.contact_id_doc_copy_back|cdnurl|htmlentities}" target="_blank"><img class="img-sm img-center" src="{$row.contact_id_doc_copy_back|cdnurl|htmlentities}"></a></td>
		</tr>
		<tr>
			<td>{:__('法人身份证有效期开始时间')}</td>
			<td>{$row.contact_period_begin|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('法人身份证有效期结束时间')}</td>
			<td>{$row.contact_period_end|htmlentities}</td>
		</tr><tr>
			<td>{:__('联系手机')}</td>
			<td>{$row.mobile_phone|htmlentities}</td>
		</tr><tr>
			<td>{:__('联系邮箱')}</td>
			<td>{$row.contact_email|htmlentities}</td>
		</tr><tr>
			<td>{:__('主体类型')}</td>
			<td>
				{if condition="$row.subject_type eq 'SUBJECT_TYPE_INDIVIDUAL'"}个体户、个体工商户、个体经营{/if}
				{if condition="$row.subject_type eq 'SUBJECT_TYPE_ENTERPRISE'"}有限公司、有限责任公司{/if}
				{if condition="$row.subject_type eq 'SUBJECT_TYPE_GOVERNMENT'"}政府机关{/if}
				{if condition="$row.subject_type eq 'SUBJECT_TYPE_INSTITUTIONS'"}事业单位{/if}
				{if condition="$row.subject_type eq 'SUBJECT_TYPE_OTHERS'"}社会团体、民办非企业、基金会、基层群众性自治组织、农村集体经济组织等{/if}
			</td>
		</tr><tr>
			<td>{:__('注册号/统一社会信用代码')}</td>
			<td>{$row.license_number|htmlentities}</td>
		</tr><tr>
			<td>{:__('商户名称')}</td>
			<td>{$row.merchant_name|htmlentities}</td>
		</tr><tr>
			<td>{:__('注册地址')}</td>
			<td>{$row.license_address|htmlentities}</td>
		</tr><tr>
			<td>{:__('营业执照有效期开始时间')}</td>
			<td>{$row.license_period_begin|htmlentities}</td>
		</tr><tr>
			<td>{:__('营业执照有效期结束时间')}</td>
			<td>{$row.license_period_end|htmlentities}</td>
		</tr><tr>
			<td>{:__('登记证书照片')}</td>
			<td><a href="{$row.cert_copy|cdnurl|htmlentities}" target="_blank"><img class="img-sm img-center" src="{$row.cert_copy|cdnurl|htmlentities}"></a></td>
		</tr><tr>
			<td>{:__('证书号')}</td>
			<td>{$row.cert_number|htmlentities}</td>
		</tr><tr>
			<td>{:__('登记证书的注册地址')}</td>
			<td>{$row.company_address|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('登记证书有效期限开始日期')}</td>
			<td>{$row.certificate_period_begin|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('登记证书有效期限结束日期')}</td>
			<td>{$row.certificate_period_end|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('账户类型')}</td>
			<td>{if condition="$row.bank_account_type eq 'BANK_ACCOUNT_TYPE_CORPORATE'"}对公银行账户{/if}
				{if condition="$row.bank_account_type eq 'BANK_ACCOUNT_TYPE_PERSONAL'"}经营者个人银行卡{/if}
			</td>
		</tr>
		<tr>
			<td>{:__('银行账号')}</td>
			<td>{$row.account_number|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('银行名称')}</td>
			<td>{$row.account_bank|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('开户银行省市编码')}</td>
			<td>{$row.bank_address_code|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('开户银行联行号')}</td>
			<td>{$row.bank_branch_id|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('开户银行全称（含支行）')}</td>
			<td>{$row.bank_name|htmlentities}</td>
		</tr>
		<tr>
			<td>{:__('当前状态')}</td>
			<td>
				{switch name="row.verify"}
					{case value="0"}<span class="label label-info">{$row.verify_text}</span>{/case}
				    {case value="1"}<span class="label label-primary">{$row.verify_text}</span>{/case}
					{case value="2"}<span class="label label-warning">{$row.verify_text}</span>{/case}
					{case value="3"}<span class="label label-success">{$row.verify_text}</span>{/case}
					{case value="4"}<span class="label label-danger">{$row.verify_text}</span>{/case}
				{/switch}
			</td>
		</tr>
		{eq name="row.verify" value="4"}
		<tr>
			<td>{:__('理由')}</td>
			<td>{$row.refuse|htmlentities}</td>
		</tr>
		{/eq}
	</tbody>
</table> 
<div class="form-group layer-footer">
	<label class="control-label col-xs-12 col-sm-2"></label>
	<div class="col-xs-12 col-sm-8">
		<button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
	</div>
</div>
